import request from  '@/utils/request.js'

// 银行信息
export function downloadFlow({
    date 
}) {
    return request({
        url: '/api/v1/cs/finance/downloadFlow',
        method: 'post',
        data: {
            date      :date
        }
    })
}

//headers: {
// 'Content-Type': 'multipart/form-data'
// }
export function importFlow(formdata) {
    return request({
        url: '/api/v1/cs/finance/importFlow',
        method: 'post',
        data: formdata,
        headers : {
            'Content-Type':'multipart/form-data'
        }
    })
}


export function dorefund({
    amount,
    orderCode,
    password,
    remark,
    thirdPartyNo
}) {
    return request({
        url: '/api/v1/cs/finance/doRefund',
        method: 'post',
        data: {
            amount : amount,
            orderCode : orderCode,
            password : password,
            remark : remark,
            thirdPartyNo : thirdPartyNo
        }
    })
}